<?php

namespace common\model\ES\base;

use common\helper\YaconfHelper;
use common\traits\InstanceTrait;

class ESTest extends ESBase
{
    use InstanceTrait;

    public function __construct()
    {
        parent::__construct();
        $this->index = strtolower(
            YaconfHelper::getWithName('app.name') . '_' .
            basename(str_replace('\\', '/', __CLASS__)));

    }

}